package com.clkj.tramcarlibrary.fragment.toNanmen;


import com.clkj.tramcarlibrary.base.BasePresenter;
import com.clkj.tramcarlibrary.base.BaseView;
import com.clkj.tramcarlibrary.entity.JinzhanDetail;
import com.clkj.tramcarlibrary.entity.ToNmShoumoDetail;

import java.util.List;

/**
 * Created by Administrator on 2017/2/14.
 */

public class ToNmContract {

    public interface View extends BaseView<Presenter> {
        //展示进站查询信息
        void showToNmJinzhan(List<JinzhanDetail> jinzhanDetails);

        void showToNmJinzhanError(String tip);

        //首末班查询信息
        void showToNmShoumo(List<ToNmShoumoDetail> shoumoDetails);

        void showToNmShoumoError(String tip);

        void showLoading();

        void dismissLoading();

        void showError(String tip);
    }

    public interface Presenter extends BasePresenter {

        /**
         * 获取往南门方向 进站查询信息
         */
        void getToNmJinzhan();

        /**
         * 获取往南门方向 首末班查询信息
         */

        void getToNmShoumo();
    }

}
